<?php

/**
 * This file is part of the Framework03 PHP framework.
 * @author Walter Tamboer
 * @package Framework03
 */

/**
 * The abstract base class for all controller plugins.
 */
abstract class FW_Controller_Plugin_Abstract
{
    /**
     * Called before a request is dispatched.
     * @param FW_Controller_Request_Abstract $request
     * @param FW_Controller_Response_Abstract $response
     */
    public function preDispatch(FW_Controller_Request_Abstract $request, FW_Controller_Response_Abstract $response)
    {
    }

    /**
     * Called after a request has been dispatched.
     * @param FW_Controller_Request_Abstract $request
     * @param FW_Controller_Response_Abstract $response
     */
    public function postDispatch(FW_Controller_Request_Abstract $request, FW_Controller_Response_Abstract $response)
    {
    }
}
